# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-motorola-maserati
pkgdesc="Motorola Motorola Droid 4"
pkgver=0.1
pkgrel=6
url="https://postmarketos.org"
license="MIT"
arch="armhf"
options="!check !archcheck"
depends="postmarketos-base linux-motorola-maserati"
makedepends="devicepkg-dev"
source="deviceinfo 10-safestrap-maserati.sh"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname

	mkdir -p "$pkgdir"/etc/postmarketos-mkinitfs/hooks/
	install -Dm644 "$srcdir"/10-safestrap-maserati.sh \
		"$pkgdir"/etc/postmarketos-mkinitfs/hooks/
}
sha512sums="9b9d3856fbb3b2cda4a87747cb35517c0c419829f969e27f6bc983fc012b2b2f07bb9865c980fa34b95701e42a15d234501bfd36da106a1d7e190f58f363d6bd  deviceinfo
36e529d5ded647012bb46a3e03ea8916c5046bed628a4b72a0c057dd2de6410bd9a1d74fc01b862feff3a4cfe8b0b0df6bd69fdbb6e63406e97c1811be07f3b8  10-safestrap-maserati.sh"
